#ifndef XCHENGYUNBYXINHEYUN_RUSTREQWESTCLIENTBLOCK_HPP
#define XCHENGYUNBYXINHEYUN_RUSTREQWESTCLIENTBLOCK_HPP

#ifdef __cplusplus
extern "C" {
#endif

auto rust_post_by_text(char const *url, char const *body, char *out, int out_len) -> int;

auto rust_post_with_token_by_text(char const *url, char const *token, char const *body, char *out, int out_len) -> int;

auto rust_post_with_token_by_file(char const *url, char const *token, char const *file, char *out, int out_len) -> int;

#ifdef __cplusplus
}
#endif

#endif//XCHENGYUNBYXINHEYUN_RUSTREQWESTCLIENTBLOCK_HPP
